<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}


<div class="container">
	
    <div class="main"> 
    
    <div class="mod">
       		
            <div class="head">公告详细</div>
     
            <div class="body">
                
                {if $announces}
              <h3>{$title}</h3>
              <p>发布人:{$username}&nbsp;有效期:
                {if ($todate=='0000-00-00')}不限{else}{$fromdate}至{$todate}{/if}
                &nbsp;浏览次数:{$hits}</p>
              {else}
              <p>暂无公告信息</p>
              {/if}
                {$content}
                
            </div>
       </div>
 </div>
    
    
    
    <div class="aside">
       
       	<div class="mod">
        	<div class="head">最多浏览</div>
            <ul class="body">
            {get sql="select * from table_announce order by hits desc" rows="10"}
            <li><a href="{url("?module=announce&announceid=$r[announceid]")}" target="_blank">{$r[title]}</a> ({date('m-d',$r[addtime])})</li>
          {/get}
          </ul>
        </div>
        
    </div>
    
</div>

{template 'footer.html'}
